Toward Semantic Foundations for Program Editors

نویسندگان

  • Cyrus Omar
  • Ian Voysey
  • Michael Hilton
  • Joshua Sunshine
  • Claire Le Goues
  • Jonathan Aldrich
  • Matthew A. Hammer
چکیده

Programming language definitions assign formal meaning to complete programs. Programmers, however, spend a substantial amount of time interacting with incomplete programs – programs with holes, type inconsistencies and binding inconsistencies – using tools like program editors and live programming environments (which interleave editing and evaluation). Semanticists have done comparatively little to formally characterize (1) the static and dynamic semantics of incomplete programs; (2) the actions available to programmers as they edit and inspect incomplete programs; and (3) the behavior of editor services that suggest likely edit actions to the programmer. This paper serves as a vision statement for a research program that seeks to develop these “missing” semantic foundations. Our hope is that these contributions, which will take the form of a series of simple formal calculi equipped with a tractable metatheory, will guide the design of a variety of current and future interactive programming tools, much as various lambda calculi have guided modern language designs. Our own research will apply these principles in the design of Hazel, an experimental live lab notebook programming environment designed for data science tasks. We plan to co-design the Hazel language with the editor so that we can explore concepts such as edit-time semantic conflict resolution mechanisms and mechanisms that allow library providers to install library-specific editor services. 1998 ACM Subject Classification D.3.1 Formal Definitions and Theory, D.2.6 Programming Environments

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Analysis and explanation of the foundations of "cognitive-philosophical value" of the national curriculum Emphasizing the "concept of morality" and presenting a "conceptual-educational" model of appraisal of the program

Purpose: The purpose of this study is to analyze and explain the foundational foundations of the Iranian national curriculum, with emphasis on the concept of morality and the presentation of the "conceptual-moral model" of the program. Methodology: The ethical model elaborated in this paper is a model of evaluation and development of national curriculum, which is applied by the method of analyt...

متن کامل

Understanding the semantic principles of a political map

The attempt to recognize phenomena and affairs has always been a concern of the human mind and has constantly sought to complete this knowledge. The correct recognition is also achieved when the real nature of phenomena is clear to man. The phenomena are based on their own philosophical foundations and, therefore, their understanding requires perception these philosophical foundations and using...

متن کامل

Toward Formal Development of Programs from AlgebraicSpeci cations : Model { Theoretic Foundations 1

This paper presents in an informal way the main ideas underlying our work on the model-theoretic foundations of algebraic speciication and program development. We attempt to ooer an overall view, rather than new results, and focus on the basic motivation behind the technicalities presented elsewhere and on the conclusions from this work.

متن کامل

Usability Evaluation of Ontology Editors

Ontology editors are software tools that allow the creation and maintenance of ontologies through a graphical user interface. As the Semantic Web effort grows, a larger community of users for this kind of tools is expected. New users include people not specifically skilled in the use of ontology formalisms. In consequence, the usability of ontology editors can be viewed as a key adoption precon...

متن کامل

The Evolutionary Foundations of Preferences∗

This paper, prepared for the forthcoming The Social Economics Handbook (Jess Benhabib, Alberto Bisin and Matthew Jackson, editors, Elsevier Press), surveys recent work on the evolutionary origins of preferences. We are especially interested in the circumstances under which evolution would push preferences away from the self-interested perfectly-rational expected utility maximization of classica...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017